package cn.wj.entity;

import java.util.List;

public class Page<T> {
	
	private Integer pageindex;
	private Integer pagesize;
	private Long prowcount;
	private List<T> list;
	private Integer totalpage;
	public Page(Integer pageindex, Integer pagesize,
			List<T> list) {
		super();
		this.pageindex = pageindex;
		this.pagesize = pagesize;
		this.list = list;
	}
	public Integer getTotalpage() {
		return totalpage;
	}
	public void setTotalpage(Integer totalpage) {
		this.totalpage = totalpage;
	}
	public Integer getPageindex() {
		return pageindex;
	}
	public Integer getPagesize() {
		return pagesize;
	}
	public Long getProwcount() {
		return prowcount;
	}
	public void setPageindex(Integer pageindex) {
		this.pageindex = pageindex;
	}
	public void setPagesize(Integer pagesize) {
		this.pagesize = pagesize;
	}
	public void setProwcount(Long prowcount) {
		this.prowcount = prowcount;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	

}
